-- GENERATED SPELL FOR [Zaxxis Raider] --


function spell0_18875(pUnit, Event) --@Energy Flare,n/a--
pUnit:FullCastSpellOnTarget(35922,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18875', 5305, 1)
end

function Sorts_18875(pUnit, Event)
local choix_sorts_18875 = math.random(0, 0)
if choix_sorts_18875 == 0 then
pUnit:RegisterEvent('spell0_18875', 1, 1)
end
end

function mob18875_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18875', math.random(1500, 3000), 1)
end

function mob18875_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18875_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18875_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18875, 1, 'mob18875_Action')
RegisterUnitEvent(18875, 2, 'mob18875_Leave')
RegisterUnitEvent(18875, 3, 'mob18875_Kill')
RegisterUnitEvent(18875, 4, 'mob18875_Die')
